package com.muyi.base.service;


import com.muyi.base.dto.UserReq;
import com.muyi.base.model.User;

/**
 * @Author: Administrator
 * @Date: 2018/11/20 20 14
 * @Description:
 */
public interface UserService {

    /**
     * 保存用户信息
     * @param user
     */
    void save(UserReq user);

    void saveRedis(UserReq user);

    User findByName(String name);
}
